list1 = ['积善成德而神明自得圣心备焉','hello','world']
list2 = ['hello','world',40,50,'大熊课堂']
result = False
for x in list1:
         for y in list2:
             if x == y:
                 result=True
                 break
if result:
    print("两个列表存在相同元素")
else:
    print("两个列表不存在相同元素")